An Object Oriented Framework for User Interface Test Automation
نویسندگان
چکیده
Software testing is an important stage in the software projects lifecycles. It is one of the most expensive stages. Effective testing automation is expected to reduce the cost of testing. GUI is increasingly taking a larger portion of the overall program’s size and its testing is taking a major rule in the whole project’s validation. GUI test automation is a major challenge for test automation. Most of the current GUI test automation tools are partially automated and require the involvement of the users or testers in several stages. This paper is about a proposed framework for user interface test automation that uses object oriented features to build the tested model. The GUI model is parsed from the application under test at run time. The GUI model is built as an XML tree that represents the GUI hierarchical structure. Test cases are then generated from the XML tree using different proposed algorithms. Some techniques for test case prioritization and critical path testing are suggested to minimize the number of required test cases to generate, that ensure an acceptable level of test adequacy or branch coverage. The framework is concluded with test execution and verification part that execute the generated test cases and compare them with the original test suite. The advantages of the object oriented approach over the widely used capture/replay back one, is in the fact that the model is generated at run time which makes it represents the current state of the GUI model. In record/play back cases, we have to retest the application in case of any change in the functionalities or the GUI of the program. Once utilized, this object oriented approach is expected to be less expensive as it does not require users to manually test the application.
منابع مشابه
Object-Oriented Process Control Software
The cycle from one release of a software product to the next is becoming shorter and shorter. Especially for custom software products (nonstandard software), implementation productivity needs to be increased. The reuse of prefabricated software components and the implementation of reusable and extensible software are of great importance. The object-oriented programming paradigm has already prov...
متن کاملModelsaz: An Object-Oriented Computer-Aided Modeling Environment
Modeling and simulation of processing plants are widely used in industry. Construction of a mathematical model for a plant is a time-consuming and error-prone task. In light of extensive advancements in computer science (both hardware and software), computers are becoming a necessary instrument in industrial activities. Many software tools for modeling, simulation and optimization of proces...
متن کاملAn Object-Oriented Framework for Improving Software Reuse on Automated Testing of Mobile Phones
To be cost effective, the decision to automate tests that are usually hand-executed has to rely on a tradeoff between the time consumed to build the automation infrastructure and the time actually saved by the automated tests. Techniques which improve software reuse not only reduce the cost of automation, but the resulting productivity gain speeds up development. Such issues are specially relev...
متن کاملMoonlight Applications Test Automation
Now-a-days web applications are developed by new technologies like Moonlight, Silverlight, JAVAFX, FLEX, etc. Silverlight is Microsoft's cross platform runtime and development technology for running Webbased multimedia applications in windows platform. Moonlight is an open-source implementation of the Silverlight development platform for Linux and other Unix/X11-based operating systems. It is a...
متن کاملGenerating Class-Based Test Cases for Interface Classes of Object-Oriented Gray-Box Frameworks
An application framework provides a reusable design and implementation for a family of software systems. Application developers extend the framework to build their particular applications using hooks. Hooks are the places identified to show how to use and customize the framework. Hooks define Framework Interface Classes (FICs) and their possible specifications, which helps in building reusable ...
متن کامل